namespace LS.UGFUnits
{
    using Unity.VisualScripting;
    
    [UnitShortTitle("Paused Download")]
    public sealed class PausedDownload: DownloadUnit
    {
        protected override ControlOutput In(Flow flow)
        {
            var com = Target;
            if (com != null)
            {
                com.Paused = true;
            }
            return base.In(flow);
        }
    }
}